export const roles = [
  {
    name: 'admin',
    label: '超级管理员',
  },
  {
    name: 'master',
    label: '应用管理员',
  },
  {
    name: 'visitor',
    label: '普通用户',
  },
];

export const users = [
  {
    id: 4,
    name: 'test',
    roleId: 'master',
    password: 'test',
    createdBy: 'admin',
    createdTime: '@date @time',
  },
  {
    id: 3,
    name: 'visitor',
    roleId: 'visitor',
    password: 'visitor',
    createdBy: 'system',
    createdTime: '@date @time',
  },
  {
    id: 2,
    name: 'master',
    roleId: 'master',
    password: 'master',
    createdBy: 'system',
    createdTime: '@date @time',
  },
  {
    id: 1,
    name: 'admin',
    roleId: 'admin',
    password: 'admin',
    createdBy: 'system',
    createdTime: '@date @time',
  },
];

export const menuTreeData = [
  {
    id: 1,
    parentId: 0,
    name: 'Detect',
    path: '/detect',
    icon: 'menu',
  },
  {
    id: 2,
    parentId: 0,
    name: 'Execute',
    path: '/exe',
    icon: 'menu',
  },
  {
    id: 3,
    parentId: 0,
    name: 'Manage',
    path: '/manage',
    icon: 'menu',
  },
  {
    id: 4,
    parentId: 0,
    name: 'Sys',
    path: '/sys',
    icon: 'setting',
    children: [
      {
        id: 41,
        parentId: 4,
        name: 'SysUser',
        path: '/sys/user',
        icon: 'user-filled',
      },
      {
        id: 42,
        parentId: 4,
        name: 'SysPermission',
        path: '/sys/permission',
        icon: 'chat-dot-round',
      },
      {
        id: 23,
        parentId: 4,
        name: 'SysRole',
        path: '/sys/role',
        icon: 'chat-dot-round',
      },
    ],
  },
  {
    id: 5,
    parentId: 0,
    name: 'App',
    path: '/app',
    icon: 'menu',
  },
  {
    id: 6,
    parentId: 0,
    name: 'Logs',
    path: '/logs',
    icon: 'document',
  },
];

